home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2410 / 2410.xpi / chrome / content / foxmarks-overlay.xul < prev    next >
Extensible Markup Language  |  2010-01-28  |  7KB  |  164 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  Copyright 2005-2008 Foxmarks Inc.
  6.  
  7.  foxmarks-overlay.xul: implements Foxmarks overlay into Firefox.
  8.  
  9. -->
  10.  
  11. <?xul-overlay href="chrome://foxmarks/content/foxmarks-statusbar.xul" ?>
  12. <!DOCTYPE dialog SYSTEM "chrome://foxmarks/locale/foxmarks.dtd">
  13.  
  14. <overlay id="foxmarksBookmarksOverlay"
  15.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  16.       
  17.     <script src="foxmarks-overlay.js" />
  18.     <script src="foxmarks-settings.js" />
  19.     <script src="foxmarks-discover.js" />
  20.  
  21. <!--
  22.     <script src="foxmarks-log.js" />
  23.     <script src="foxmarks-update.js" />
  24.     <script src="foxmarks-clobber.js" />
  25.     <script src="foxmarks-places.js" />
  26.     <script src="foxmarks-nodes.js" />
  27.     <script src="foxmarks-command.js" />
  28.     <script src="foxmarks-core.js" />
  29.     <script src="foxmarks-network.js" />
  30.     <script src="foxmarks-json.js" />
  31.     <script src="shared/CreateAESManager.js" />
  32.     <script src="shared/Base64.js" />
  33.     <script src="foxmarks-utils.js" />
  34.     <script src="foxmarks-uitools.js" />
  35.     <script src="foxmarks-password.js" />
  36.     <script src="foxmarks-bookmark.js" />
  37.     <script src="foxmarks-server.js" />
  38.     <script src="foxmarks-test.js" />
  39. -->
  40.     <menupopup id="menu_ToolsPopup">
  41.         <menu id="foxmarks-menuitem" label="Xmarks" class="menu-iconic"
  42.             accesskey="&menu.accesskey.foxmarks;" 
  43.             insertafter="devToolsSeparator">
  44.             <menupopup id="foxmarks-menupopup" onpopupshowing="return Xmarks.OnPopupShowing()">
  45.  
  46. <!--
  47.                 <menuitem label="Test "
  48.                      oncommand="TestSync()" 
  49.                     />
  50. -->
  51.                 <menuitem label="&dialog.label.syncNow;   "
  52.                     accesskey="&menu.accesskey.syncnow;" oncommand="Xmarks.Synch()" 
  53.                     key="XmarksSyncNow" />
  54.                 <menuitem label="&menu.myFoxmarks;   "
  55.                     accesskey="&menu.accesskey.myfoxmarks;" 
  56.                     oncommand="Xmarks.MyFoxmarks()" />
  57.                 <menuitem label="&menu.settings;   "
  58.                     accesskey="&menu.accesskey.settings;" 
  59.                     oncommand="Xmarks.OpenFoxmarksSettingsDialog()" 
  60.                     key="OpenFoxmarksDialog" />
  61.                 <menuitem label="&menu.similarsites;   "
  62.                     accesskey="&menu.accesskey.similarsites;" 
  63.                     oncommand="Xmarks.SimSites.showSimSites();" 
  64.                     key="FoxmarksSimSiteKey" />
  65.                 <menuseparator />
  66.                 <menuitem label="&menu.showstatus;" 
  67.                     id="foxmarks-showstatusicon" 
  68.                     accesskey="&menu.accesskey.icon;"
  69.                     type="checkbox" oncommand="Xmarks.ToggleIcon()" />
  70.             </menupopup>
  71.         </menu>
  72.     </menupopup>
  73.     
  74.     <keyset id="mainKeyset">
  75.         <key id="XmarksSyncNow" modifiers="accel,shift" key="s" 
  76.             oncommand="Xmarks.Synch();" />
  77.         <key id="OpenFoxmarksDialog" modifiers="accel,shift" key="o" 
  78.             oncommand="Xmarks.OpenFoxmarksSettingsDialog();" /> 
  79.         <key id="FoxmarksSimSiteKey" modifiers="accel,shift" key="m" 
  80.             oncommand="Xmarks.SimSites.showSimSites();" /> 
  81.     </keyset>   
  82.  
  83.     <statusbar id="status-bar">
  84.         <statusbarpanel id="foxmarks-statusbarpanel" /> 
  85.     </statusbar>
  86.  
  87.     <toolbarpalette id="BrowserToolbarPalette">
  88.         <toolbarbutton 
  89.            id="foxmarks-toolbar-syncnow" 
  90.             class="toolbarbutton-1"
  91.             label="&dialog.label.syncNow;" 
  92.             image="chrome://foxmarks/skin/images/foxmarks_sync_toolbutton.png" 
  93.             oncommand="Xmarks.Synch();"
  94.         />
  95.         <toolbarbutton 
  96.            id="foxmarks-toolbar-my" 
  97.             class="toolbarbutton-1"
  98.             label="&menu.myFoxmarks;" 
  99.             image="chrome://foxmarks/skin/images/foxmarks_my_toolbutton.png" 
  100.             oncommand="Xmarks.MyFoxmarks();"
  101.         />
  102.         <toolbarbutton 
  103.            id="foxmarks-toolbar-settings" 
  104.             class="toolbarbutton-1"
  105.             label="&dialog.label.syncNow;" 
  106.             image="chrome://foxmarks/skin/images/foxmarks_settings_toolbutton.png" 
  107.             oncommand="Xmarks.OpenFoxmarksSettingsDialog();"
  108.         />
  109.         <toolbarbutton 
  110.            id="foxmarks-toolbar-similarsite" 
  111.             class="toolbarbutton-1"
  112.             label="&similarsite.getsiteinfo.normalcase;" 
  113.             image="chrome://foxmarks/skin/images/foxmarks_similarsites_toolbutton.png" 
  114.             oncommand="Xmarks.SimSites.showSimSites();"
  115.         />
  116.     </toolbarpalette>
  117.  
  118.     <popupset id="mainPopupSet">
  119.         <panel id="foxmarks-similarsites"  position="after_end" 
  120.             onpopuphiding="return Xmarks.SimSites.onPopupHiding();">
  121.             <vbox flex="1" minwidth="300">
  122.                 <hbox id="foxmarks-ss-progress" flex="1">
  123.                     <label id="foxmarks-ss-progtitle" hidden="true"
  124.                         style="padding: 8px; font-size: 14px; font-weight: bold;" />
  125.                     <image 
  126.                         src="chrome://foxmarks/skin/images/Throbber-small.gif" 
  127.                         id="foxmarks-ss-throbber" hidden="true" height="16"
  128.                         width="16"
  129.                     />
  130.                 </hbox>
  131.                     <vbox id="foxmarks-ss-body" hidden="true" flex="1"
  132.                             style="background: white; opacity: 1.0;" >
  133.                     <iframe id="foxmarks-bib" />
  134.                 </vbox>
  135.             </vbox>
  136.         </panel>
  137.         <panel id="foxmarks-newuserwiz" position="before_end" 
  138.             noautohide="true"
  139.             onpopuphiding="return Xmarks.NewUserPopupHiding();"
  140.             style="padding: 12px; background-color: transparent; opacity: 1.0; width: 312px; -moz-appearance: none; margin: 0px; padding: 0px; border: none;" >
  141.             <vbox onclick="Xmarks.ClickNewUserPopup();" id="foxmarks-bubblebox" style="background: transparent url('chrome://foxmarks/skin/images/bubble_bkg.png') no-repeat; height: 111px; padding: 0; margin: 0;">
  142.                 <vbox style="width:150px" id="foxmarks-bubblecontainer">
  143.                     <hbox id="foxmarks-bubbletextbox" style="margin: 12px 12px 4px 84px; width: 170px; padding: 0;" >
  144.                         <label id="foxmarks-bubbletitle" value="&label.newuser.title2;" style="padding: 0; margin: 0; font-size: 12px; font-weight: bold;"/>
  145.                         <image id='foxmarks-bubbletr' />
  146.                         <spacer flex="1" />
  147.                         <vbox onclick="Xmarks.CloseNewUserPopup();">
  148.                             <image 
  149.                             src="chrome://foxmarks/skin/images/bubble_close.png" 
  150.                                 id="foxmarks-bubbleclose" 
  151.                                 style="margin-right: 16px; cursor: pointer; height: 12px; width: 12px;"
  152.                             />
  153.                             <spacer flex="1" />
  154.                         </vbox>
  155.                     </hbox>
  156.                 </vbox>
  157.                 <description id="foxmarks-bubbledesc" style="margin: 0px 12px 4px 84px; font-size: 12px;">
  158.                     &label.newuser.msg2; 
  159.                  </description>
  160.             </vbox>
  161.         </panel>
  162.     </popupset>
  163. </overlay>
  164.